package com.ws.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ws.dao.GoodsDao;
import com.ws.entity.Goods;
import com.ws.service.GoodsService;

@Component("goodsServiceImpl")
public class GoodsServiceImpl implements GoodsService {
	
	private GoodsDao goodsDao;
	
	@Resource(name="goodsDaoImpl")
	public void setGoodsDao(GoodsDao goodsDao) {
		this.goodsDao = goodsDao;
	}

	public List<Goods> getGoodsList() {
		return goodsDao.getGoodsList();
	}

	public void saveGoods() {
		// TODO Auto-generated method stub

	}

	public void updateGoods() {
		// TODO Auto-generated method stub

	}

	public void deleteGoods() {
		// TODO Auto-generated method stub

	}

}
